<?php
$packid = $_POST['packageid'];

include('inc/init.php');

$smarty->template_dir = 'templates';
$smarty->assign('title', $title);

$sql = "select * from ats_package_category where id='".$packid."'";
$cat = $db->prepare($sql);
$cat->execute();
$cat->setFetchMode(PDO::FETCH_LAZY);

$smarty->assign('cat', $cat);
$smarty->display('getcategory.tpl');


?>
